package com.fanco.learn_datastruct_leetcode.designpattern.iterator;

import java.util.Iterator;

/**
 * @author qiaowang 2022/2/22
 * 描述
 */
public interface Colleage {

    //
    public String getName();

    public void addDepartment(String name, String desc);

    // 返回一个迭代器，遍历
    public Iterator createIterator();

}
